package com.medical.admin.cost.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 充值记录表
 */
@Data
@TableName(value = "mar_recharge")
public class Recharge {
    public static final String COL_CARD_BALANCE = "card_balance";
    /**
     * 充值id
     */
    @TableId(value = "recharge_id", type = IdType.AUTO)
    private Integer rechargeId;

    /**
     * 患者id
     */
    @TableField(value = "patient_id")
    private Long patientId;

    /**
     * 充值方式 0 现金支付 1微信支付 2支付宝 3银行卡
     */
    @TableField(value = "payment_type")
    private Integer paymentType;

    /**
     * 充值金额
     */
    @TableField(value = "recharge_count")
    private Integer rechargeCount;

    /**
     * 支付状态 0未支付 1已支付
     */
    @TableField(value = "recharge_state")
    private Integer rechargeState;

    /**
     * 充值时间
     */
    @TableField(value = "creat_date")
    private Date creatDate;

    /**
     * 订单id
     */
    @TableField(value = "indent_id")
    private Long indentId;

    /**
     * 就诊卡id
     */
    @TableField(value = "patient_card_num")
    private Integer patientCardNum;

    public static final String COL_RECHARGE_ID = "recharge_id";

    public static final String COL_PATIENT_ID = "patient_id";

    public static final String COL_PAYMENT_TYPE = "payment_type";

    public static final String COL_RECHARGE_COUNT = "recharge_count";

    public static final String COL_RECHARGE_STATE = "recharge_state";

    public static final String COL_CREAT_DATE = "creat_date";

    public static final String COL_INDENT_ID = "indent_id";

    public static final String COL_PATIENT_CARD_NUM = "patient_card_num";
}